﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DFGK_WMS.Model.DTO
{
    public class SubmitPutAwayDTO
    {
        /// <summary>
        /// 关联验收单号
        /// </summary>
        public string checkNumber { get; set; }

        /// <summary>
        /// 入库物资清单明细
        /// </summary>
        public List<SubmitPutAwayDetailDTO> items { get; set; } = new List<SubmitPutAwayDetailDTO>();


        /// <summary>
        /// 仓库id
        /// </summary>
        public int storeId { get; set; }

        /// <summary>
        /// 发起人的userId
        /// </summary>
        public int userId { get; set; }
    }

    public class SubmitPutAwayDetailDTO
    {
        /// <summary>
        /// 入库单id
        /// </summary>
        public int orderId { get; set; }
        /// <summary>
        /// 入库数量
        /// </summary>
        public decimal count { get; set; }

        /// <summary>
        /// 关联的验收单明细项Id
        /// </summary>
        public int relationId { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string remark { get; set; }

        /// <summary>
        /// 库位
        /// </summary>
        public string storeLocationId { get; set; }
    }
}
